package com.cf.data.serve.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: ai盒子
 * @Author: cuixi
 * @Date:   2024-11-02
 * @Version: V1.0
 */
@Data
@TableName("ai_box")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class AiBox implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
    private String id;

	/**创建人*/
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
	/**更新人*/
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

	/**设备编码*/
    private String deviceCode;
	/**设备名称*/
    private String deviceName;
	/**设备序列号*/
    private String deviceSn;
    /**最后更新时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date lastTime;
}
